﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ServiceModel;

namespace TravelLink.ScheduleTasks.Service {
    [ServiceContract]
    public interface IMailSvc {

        /// <summary>
        /// 测试
        /// </summary>
        [OperationContract(IsOneWay = true)]
        void Test();

        /// <summary>
        /// 推送职位信息
        /// </summary>
        [OperationContract(IsOneWay = true)]
        void SendPositionInfo();

        /// <summary>
        /// 根据用户ID推送职位信息
        /// </summary>
        [OperationContract(IsOneWay = true)]
        void SendPostionInfo(Guid userCode);
    }
}
